Skip to main content

Modify Alert

Request to be POSTed to uri : /NorenWClientTP/ModifyAlert

Request Details :

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
jKey*Key Obtained on login success.
Json FieldsPossible valueDescription
uid*Logged in User Id
tsym*Trading symbol
exch*Exchange Segment
ai_t*Alert Type, should be original alert type, can’t be modified.
al_id*Alert Id
validity*DAY or GTTValidity
dData to be compared with LTP
remarksAny message Entered during order entry.
sms_flagtrue or falseSMS flag
email_flagtrue or falseEmail flag
push_flagtrue or falsePush flag

Response Details :

Response data will have below fields.

Json FieldsPossible valueDescription
statalert success or failure indication.
request_timeThis will be present only in a successful response.
al_idAlert Id
emsgThis will be present only in case of errors.That is : 1) Invalid Input 2) Session Expired

Sample Success Response :

{
"request_time":"16:36:42 08-04-2021",
"stat":"Oi Replaced",
“al_id”:”21040800000013”
}

Sample Failure Response :

{
"stat":"Not_Ok",
"emsg":"Session Expired : Invalid Session Key"
}